<?php

namespace app\test512\model;

use think\Model;

class Node extends Base
{
    //定义表
    protected $table = "node";

    //获取全部的数据
    public function getAlllist()
    {
        $data = self::get()->toArray();


        return $this->sonlevel($data);
    }
}
